package com.tusuo.stds.ui.vip;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.tusuo.stds.R;

import java.util.zip.Inflater;

/**
 * Created by developer on 17-9-14.
 */

public class VipAdapter extends BaseAdapter {

    private Context mContext;
    private LayoutInflater mLayoutInflater;

    VipAdapter(Context context) {
        mContext = context;
        mLayoutInflater = LayoutInflater.from(context);
    }


    @Override
    public int getCount() {
        return 1;
    }

    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        View view;
        ViewHolder holder;
        if (convertView == null) {
            view = mLayoutInflater.inflate(R.layout.item_vip_list,null);
            holder = new ViewHolder();

        }else {
            view = convertView;
            holder = (ViewHolder) view.getTag();
        }

        return view;
    }

    class ViewHolder {



    }

}
